#include <stdio.h>
#include <sqlite3.h>

int main(int argc, char const *argv[])
{
    sqlite3* db = NULL;
    int ret = sqlite3_open("1.db",&db);
    if (ret != SQLITE_OK)
    {
        printf("sqlite3_open err\n");
        return 0;
    }

    printf("open success\n");

    sqlite3_close(db);

    printf("close success\n");
      
    return 0;
}
